<%@page import="com.king.util.encrypt.SHAUtil"%>
<%@page import="com.king.util.file.xml.XmlUtil"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%

	boolean isGet = request.getMethod().toLowerCase().equals("get"); 
	String echostr = request.getParameter("echostr");// 随机字符串
	
	if( null == echostr )
	{
		response.getWriter().write( "" ); 
	}
	else
	{
		response.getWriter().write( echostr ); 
	}	
	  

    if( isGet )
    {
        
    }
    else
    {
    	ServletInputStream in = request.getInputStream();
        byte[] b = new byte[1024];
        in.read(b);
        out.print( new String(b));
    }
%>
